<div class="album wp-20" ui-view="container">
    <div ng-if="!noPermission">
    <div class="head_title">
        <span class="tit-color">专辑播放概况</span>
    </div>

    <div class="searchWapper white-background">
        <div class="form-group searchLump">
            <div class="searchTitle">搜索：</div>
            <div class="search-select" style="float: left;">
                <select ng-model="search.key" ng-options="fileName.key  as fileName.value for fileName in selectTerms" style="float: left"></select>
                <input type="text" class="input width-150"  ng-model="search.value"    ui-event="{ keyup : 'keyup($event,search.value)' }">
                <input type="button" class="btn btn-primary" style="margin-top: -3px" value="搜索" ng-click="findData()">
            </div>
            <a class="down_icon pull-right" download ng-href="{{downHref}}">
                <i class="iconfont icon-xiazai" aria-hidden="true"></i>
            </a>
        </div>

    </div>


    <div class="white-background" style="margin:15px  0">

        <table class="table table-bordered table-hover table-page">
            <thead>
            <tr>
                <th>专辑_ID</th>
                <th>专辑名称</th>
                <th><a  ng-click="sortClick('playNum')" >播放总量<i class="fa fa-sort-{{search.sortType}}"  ng-show="search.field=='playNum'"></i></a></th>
                <th><a  ng-click="sortClick('onlinePlayNum')" >在线播放量<i class="fa fa-sort-{{search.sortType}}"  ng-if="search.field=='onlinePlayNum'"></i></a></th>
                <th><a ng-click="sortClick('offlinePlayNum')" >离线播放量<i class="fa fa-sort-{{search.sortType}}" ng-if="search.field=='offlinePlayNum'"></i></a></th>
                <th><a ng-click="sortClick('downloadNum')"> 下载量<i class="fa fa-sort-{{search.sortType}}" ng-if="search.field=='downloadNum'"></i></a></th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="item in albumPlayList">
                <td>{{item.albumId}}</td>
                <td>
                    <a ui-sref="main.albumPlay.albumPlayDetail({albumId:item.albumId,pageNo:1})">{{item.albumName}}</a>
                </td>
                <td>{{item.playNum}}</td>
                <td>{{item.onlinePlayNum}}</td>
                <td>{{item.offlinePlayNum}}</td>
                <td>{{item.downloadNum}}</td>
            </tr>
            </tbody>
        </table>
    </div>

    <div class="panel-footer paging">
        <s-pagination conf="paginationConf"></s-pagination>
    </div>
</div>
    <div ng-if="noPermission" ng-include="'templates/no-permission.html'"></div>
</div>
